/******************************************************************************
 * The contents of this file are subject to the   JDI License  Version 1.0
 * ("License"); You may not use this file except in compliance with the License
 * Software distributed under the License is distributed on an  "AS IS"  basis,
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
 * the specific language governing rights and limitations under the License.
 * The Initial Developer of the Original Code is 陈慧然. Portions created by 
 * 陈慧然 are Copyright 陈慧然.
 * All Rights Reserved.
 *
 *              Contact john_holen@163.com for licensing alternatives.
 *
 *****************************************************************************/


package org.peony.standard.unvarying.cfgs;

/**
 *  
 *
 *  @author     陈慧然
 *  @version    Id: ApplicationServerConfigPropertiesKeys.java, v 0.000 2008-6-15 下午07:33:40 陈慧然 Exp
 */
public class ApplicationServerConfigPropertiesKeys {
	public static final String DBMSTYPE = "dbms_type";
	public static final String JDBCDRIVER = "jdbc_driver";
	public static final String DBUSER = "db_user";
	public static final String DBPASSWORD = "db_pw";
	public static final String DBURL = "db_url";
	public static final String MAXCONN = "max_conn";
	public static final String MINCONN = "min_conn";
	
	/**
	 * xml配置文件，应用设置
	 */
	public static final String DOMAIN_APPCONFIG = "appConfig";
	/**
	 * xml配置文件，数据源设置
	 */
	public static final String DOMAIN_DATASOURCES = "dataSources";
	/**
	 * xml配置文件，数据源设置－事务类型
	 */
	public static final String DOMAIN_DATASOURCES_TRANSACTIONTYPE = "transactionType";
	/**
	 * xml配置文件，单个数据源设置－名称
	 */
	public static final String DOMAIN_DATASOURCE_NAME = "name";
	/**
	 * xml配置文件，单个数据源设置－数据库类型
	 */
	public static final String DOMAIN_DATASOURCE_DBMSTYPE = "dbmsType";
	/**
	 * xml配置文件，单个数据源设置
	 */
	public static final String DOMAIN_DATASOURCE = "dataSource";
	/**
	 * xml配置文件，单个数据源设置－连接生产器
	 */
	public static final String DOMAIN_DATASOURCE_CONNECTIONPROVIDER = "connectionProvider";
	/**
	 * xml配置文件，单个数据源设置－连接生产器工厂
	 */
	public static final String DOMAIN_DATASOURCE_CONNECTIONPROVIDERFACTORY = "connectionProviderFactory";
	/**
	 * xml配置文件，单个数据源设置－事务类型
	 */
	public static final String DOMAIN_DATASOURCE_TRANSACTIONTYPE = DOMAIN_DATASOURCES_TRANSACTIONTYPE;
}
